package sfy.md.behavior.chainofresponsibility;

import org.omg.Messaging.SYNC_WITH_TRANSPORT;

public class OldMan extends People {

    public OldMan(){
        peopleHandler = new OldManHandler();
    }

    @Override
    void handler() {
        System.out.println("oldMan进行处理");
    }
}
